import requests

import app


class UserInfoApi():
    def __init__(self):
        self.user_info_url = "http://ihrm-test.itheima.net/api/sys/profile"

    def user_info(self):
        return requests.post(url=self.user_info_url, headers = app.header)